<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>snabbdom demo</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    body {
      margin: 20px;
      padding: 20px;
    }
    .header {
      font-size: 28px;
      font-weight: bold;
    }
    .sort-line {
      display: flex;
      margin-top: 20px;;
    }
    .sort-by {
      margin-right: 20px;
    }
    .sort-item {
      display: flex;
      justify-content: center;
      width: 200px;
    }
    .sort-item > div {
      flex: 1;
      cursor: pointer;
    }
    .content-wrapper {
      width: 100%;
      margin-top: 30px;
    }
    .content-item-wrapper {
      display: flex;
      justify-content: flex-space;
      height: 100px;
      margin-top: 10px;
      border-bottom: 1px solid #ccc;
    }
    .content-item-wrapper .content-item:first-child {
      flex: 30px;
      flex-shrink: 0;
    }
    .content-item:nth-child(2) {
      flex: 20%;
      flex-shrink: 0;
      margin-right: 10px;
    }
    .content-item:nth-child(3) {
      flex-shrink: 0;
      flex: 75%;
    }
    .add {
      width: 60px;
      height: 60px;
      background-color: yellowgreen;
      color: white;
      border: 1px solid #fff;
      text-align: center;
      line-height: 60px;
      font-size: 18px;
      border-radius: 6px;
      cursor: pointer;
    }
    .delete {
      cursor: pointer;
      flex: 20px;
      flex-shrink: 0;
    }
    /* .content-item-wrapper .content-item:last-child {
      flex: 60%;
    } */
  </style>
  <script type="module" src="./index.js"></script>
</head>
<body>
  <div id="container"></div>
</body>
</html>